//package com.strive.demo.web.factory;
//
//import java.util.Queue;
//import java.util.concurrent.*;
//
///**
// * @description:
// * @author: bingcun.chen
// * @Date: 2022/3/22 15:27
// * @Version 1.0
// */
//public class CustomerHandler implements RejectedExecutionHandler {
//    static Queue<Runnable> msgQueue = new LinkedBlockingQueue<Runnable>();
//    @Override
//    public void rejectedExecution(Runnable r, ThreadPoolExecutor executor) {
//        msgQueue.offer(r);
//    }
//}
